from django.db import models

# Create your models here.

class Tag(models.Model):
    title = models.CharField(verbose_name='标题', max_length=32)

class Article(models.Model):
    '''
    文章表
    '''
    title = models.CharField(verbose_name='标题', max_length=32)
    image = models.CharField(verbose_name='图片', max_length=128)
    summary = models.CharField(verbose_name='简介', max_length=255)